/******************************************************************************
 * @File name   :      IUserApprovalRuleService.java
 *
 * @Author      :      cheng li
 *
 * @Date        :      2011-7-19
 *
 * @Copyright Notice: 
 * Copyright (c) 2014 DMS, Inc. All  Rights Reserved.
 * This software is published under the terms of the DMS Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * 2011-7-19 上午09:44:21        chengli     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.framework.dm.approval.service;

import java.util.List;

import com.cap.bts.framework.common.dto.ApprovalRuleDto;
import com.cap.bts.framework.dm.approval.dto.QueryApproveDto;
import com.cap.bts.framework.dm.approval.dto.WSApprovalUserGrpAppResultDto;

import com.cap.bts.framework.common.exception.AppException;
import com.cap.bts.framework.common.service.IBaseService;


/**
 * 人员岗位审批节点查询服务类
 */
public interface IUserApprovalRuleService extends IBaseService {
    
	
	
	 /**
     * get approval by id and type
     * @Date        :      2012-7-24
     * @param appId application id
     * @return List<UserGroupApproval>
     * @throws AppException AppException
     */
    public List<ApprovalRuleDto> getHisApprovalByAppIdAndType(long appId,int applicationType)throws AppException;
    
    /**
     * get approval by id and type
     * @Date        :      2012-7-24
     * @param appId application id
     * @return List<UserGroupApproval>
     * @throws AppException AppException
     */
    public List<ApprovalRuleDto> getCurApprovalByAppIdAndType(long appId,int applicationType)throws AppException;
}
